package com.lw.sbdemo2.common.constant;

/**
 * <p>标题: 微信通用常量</p>
 * <p>描述: </p>
 * <p>版权: Copyright (c) 2018</p>
 * <p>公司: 智业软件</p>
 *
 * @version: 1.0
 * @author: LinWang
 * @date: 2018/3/16
 */
public interface WechatConstants {

    /**
     * 项目环境
     *       dev: 开发
     *       prod: 线上
     */
    String PROJECT_ENV_DEV = "dev";
    String PROJECT_ENV_PROD = "prod";

    /**
     * 功能开关
     *       on: 开
     *       off: 关
     */
    String HANDLE_OPEN = "on";
    String HANDLE_CLOSE = "off";

    /**
     * 不检验地址
     */
    String NO_CHECK_URL_HIP = "cjwmy.mynatapp.cc/hip";

    /**
     * 网站来源 Referer
     */
    String REFERER_WECHAT = "https://servicewechat.com";

    /**
     * HTTP_METHOD
     */
    String HTTP_METHOD_GET = "GET";
    String HTTP_METHOD_POST = "POST";
    String HTTP_METHOD_PUT = "PUT";
    String HTTP_METHOD_DELETE = "DELETE";

    /**
     * 默认头像
     *       科室
     *       男医生
     *       女医生
     */
    String DEFAULT_DEPT_IMG = "/applets/common/pic_department.png";
    String DEFAULT_MALE_IMG = "/applets/common/pic_male.png";
    String DEFAULT_WOMAN_IMG = "/applets/common/pic_woman.png";

    /**
     * 关键字匹配规则
     *       1: 半匹配
     *       2: 全匹配
     */
    String KEY_TYPE_HALF = "1";
    String KEY_TYPE_ALL = "2";

    /**
     * 公众号订阅常量
     *       1: 已关注
     *       0: 未关注
     */
    String SUBSCRIBE_ON = "1";
    String SUBSCRIBE_OFF = "0";

    /**
     * 公众号菜单常量
     *       KEY_11: 门诊服务
     *       KEY_12: 住院服务
     *       KEY_13: 就诊引导
     */
    String MENU_KEY_DISP = "KEY_11";
    String MENU_KEY_RESI = "KEY_12";
    String MENU_KEY_GUIDE = "KEY_13";
    String MENU_KEY_CARD = "KEY_CARD";
    String MENU_KEY_QIAN_DAO = "KEY_QIAN_DAO";
    String MENU_KEY_MYSELF = "KEY_MYSELF";
    String MENU_KEY_HELP = "KEY_HELP";
    String MENU_KEY_MAKE_MONEY = "KEY_MAKE_MONEY";
    String MENU_KEY_WITHDRAW = "KEY_WITHDRAW";
    String MENU_KEY_CALC = "KEY_CALC";
    String MENU_KEY_QRCODE = "KEY_QRCODE";
    String MENU_KEY_CHANGE_HELP = "KEY_CHANGE_HELP";
    String MENU_KEY_PORTAL = "KEY_PORTAL";
    String MENU_KEY_JD = "KEY_JD";

    /**
     * 微信消息类型
     *       text: 文本消息
     *       link: 链接消息
     */
    String MSG_TYPE_TEXT = "text";
    String MSG_TYPE_LINK = "link";
}
